public class Student {
    private String name;
    private String studentId;
    private String className;
    private String gender;
    private int age;
    private String xingge;

    public Student(String name, String studentId, String className, String gender, int age, String xingge) {
        this.name = name;
        this.studentId = studentId;
        this.className = className;
        this.gender = gender;
        this.age = age;
        this.xingge = xingge;
    }

    public String getName() {
        return name;
    }

    public String getStudentId() {
        return studentId;
    }

    public String getClassName() {
        return className;
    }

    public String getGender() {
        return gender;
    }

    public int getAge() {
        return age;
    }

    public String getXingge() {
        return xingge;
    }

    public String informationSummary() {
        return "姓名: " + name + ", 学号: " + studentId + ", 班级: " + className + ", 性别: " + gender + ", 年龄: " + age + ", 性格: " + xingge;
    }

    public static void main(String[] args) {
        Student student1 = new Student("a", "001", "一班", "男", 12, "开朗");
        Student student2 = new Student("b", "002", "二班", "女", 13, "文静");
        Student student3 = new Student("c", "003", "三班", "男", 14, "活泼");

        System.out.println(student1.informationSummary());
        System.out.println(student2.informationSummary());
        System.out.println(student3.informationSummary());
    }
}
